Back to Tutorials

Swift Quizzes

Test your Swift knowledge with these interactive quizzes

Modern Swift Basics Quiz

Test your understanding of Swift syntax, variables, constants, basic data types, and type inference.

Modern Swift Control Flow Quiz

Evaluate your knowledge of if/else, switch statements, for-in loops, while loops, and guard statements in Swift.

Swift Functions Quiz

Assess your knowledge of defining and calling functions, parameters, return values, and argument labels in Swift.

Swift Optionals Quiz

Test your understanding of optional types, nil, optional binding (if let, guard let), and optional chaining.

Swift Collections Quiz

Challenge yourself with questions on Swift's core collection types: Arrays, Dictionaries, and Sets.

Swift OOP Quiz

Evaluate your understanding of classes, objects, properties, methods, inheritance, and initializers in Swift.

Swift Closures & Functional Quiz

Test your knowledge of closures, capturing values, escaping/non-escaping closures, and functional methods like map, filter, reduce.

Swift Structures & Enums Quiz

Assess your knowledge of value types (structs vs classes), enumerations, associated values, and raw values.

Swift Protocols & Extensions Quiz

Explore your understanding of defining protocols, protocol conformance, protocol inheritance, and extending types in Swift.

Swift Memory Management & Advanced Topics Quiz

Test your knowledge of ARC, strong/weak/unowned references, error handling (do-try-catch), and generics.